package cn.tedu.service;

import cn.tedu.tcc.StroageTccAution;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Administrator
 */
@Service
public class StorageServiceImpl implements StorageService{

    @Autowired
    private StroageTccAution stroageTccAution;

    @Override
    public void decrease(Long productId, Integer count) {

        stroageTccAution.prepare(null, productId, count);
    }
}
